package com.cgwx.service;

import com.cgwx.entity.PersonalRecycleBin;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
public interface IPersonalRecycleBinService {
    List<PersonalRecycleBin> getAllPersonalRecycleBin(String account, String roomId, String pattern, String column, String sort);

    List<PersonalRecycleBin> getCompanyRecycleBin(String account, String deptId, String companyRoomId, String entityName, String column, String sort);

    List<PersonalRecycleBin> getDeptRecycleBin(String account, String deptId, String deptRoomId, String entityName, String column, String sort);

    List<PersonalRecycleBin> getFreeRecycleBin(String account, String deptId, String roomId, String entityName, String column, String sort);

    List<PersonalRecycleBin> getPersonalRecycleBin(PersonalRecycleBin personalRecycleBin);

    String deletePersonalRecycleBinById(String entityId);

    String deleteRecycleBinEntirelyById(List<String> entityIds);

    @Transactional
    String insertRecycleBin(String entityId, String deleteAccount);
}
